package com.binance.zkconfig.app.listener.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

/**
 * Created by Fei.Huang on 2018/8/28.
 */
@Data
@ToString
@AllArgsConstructor
public class ZkConfigChangeEvent {
    private Type type;
    private String context;
    private String key;
    private String value;

    public enum Type {
        ADD, UPDATE, REMOVE
    }
}